com.gs.phone.api.audio

AudioRouteApi

All APIs for audio route.

Supported Products:

All


Detail

Method

method description
public static void switchVoiceToSpeaker(); Switch voice to the phone speaker.

Supported Products:

All

public static boolean isVoiceOnSpeaker(); Check whether the phone speaker is on.

Return:

boolean true: The phone speaker is on. false: The phone speaker is off.

Supported Products:

All

public static boolean isVoiceOnBlueToothHeadset(); Check whether the bluetooth headset is on.

Return:

boolean true: The bluetooth headset is on. false: The bluetooth headset is off.

Supported Products:

All

public static boolean isVoiceUnknown(); Check whether all audio device is off.

Return:

boolean true: All audio device is off. false: Someone is on. device is off.

Supported Products:

All


Member & Constant

Member description
public static final String API The tag name of AudioRouteApi, which is used in
{@link com.gs.common.client.ApiClient.Builder#addApi(String)}

Supported Products:

All